package com.yiyoucheng.entity;

import lombok.Data;

import java.io.Serializable;

/**
 * 封装分页查询条件
 */
// @Data
public class QueryPageBean implements Serializable{
    private Integer currentPage;//页码
    private Integer pageSize;//每页记录数
    // private String queryString;//查询条件
    // private String queryCode;//要查询的编号
    // private String queryName;//要查询的姓名
    // private Integer[] queryDpeIdArray;//要查询的部门层级数组
    // private String queryTelephone;//要查询的电话
    // private String queryAddress;//要查询的住址
    private QueryCondition queryCondition;//查询的条件

    public Integer getCurrentPage() {
        return currentPage;
    }

    public void setCurrentPage(Integer currentPage) {
        this.currentPage = currentPage;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public QueryCondition getQueryCondition() {
        return queryCondition;
    }

    public void setQueryCondition(QueryCondition queryCondition) {
        this.queryCondition = queryCondition;
    }
}